import React, { Component } from 'react'
import {connect} from 'react-redux'
import {bindActionCreators} from 'redux'

 class Template extends Component {
  render() {
    return (
      <div>Template</div>
    )
  }
}
// 取数据
const mapStateToProps=state=>{
    return {}
}
// 取方法
const mapDispatchToProps=dispatch=>{
    return {
        // a:bindActionCreators(actions,dispatch)
    }
}

export default connect(mapStateToProps,mapDispatchToProps)(Template)
